package com.chhuang.bean;

/**
 * 查询条件类
 * @author HuangChen
 *
 */
public class QueryTermBean {
	private String termStr;
	private Object[] termValue;
	public QueryTermBean() {
		super();
	}
	/**
	 * 
	 * @param termStr 查询条件 where后面的部份，可以用到问号
	 * @param termValue 给查询条件问号赋的值
	 */
	public QueryTermBean(String termStr, Object... termValue) {
		super();
		this.termStr = termStr;
		this.termValue = termValue;
	}
	public String getTermStr() {
		return termStr;
	}
	public void setTermStr(String termStr) {
		this.termStr = termStr;
	}
	public Object[] getTermValue() {
		return termValue;
	}
	public void setTermValue(Object... termValue) {
		this.termValue = termValue;
	}
	
}
